package com.fxdigital.nvr;

/**
 * 回放参数
 * */
public class PlayBackParam {
	public PlayBackParam() {
		startTime = new TimeInfo();
		stopTime = new TimeInfo();
	}
	
	private int mode; // 回放模式，1-按文件名回放，2-按时间回放
	private String fileName; // 回放的文件名，当mode为2时可忽略
	private int hwnd; // 回放的窗口句柄

    // 以下三个参数，当mode为1时可忽略
	private int channel; // 通道
	private TimeInfo startTime; // 开始时间
	private TimeInfo stopTime; // 停止时间
	
	public int getMode() {
		return mode;
	}
	
	public void setMode(int mode) {
		this.mode = mode;
	}
	
	public String getFileName() {
		return fileName;
	}
	
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public int getHwnd() {
		return hwnd;
	}
	
	public void setHwnd(int hwnd) {
		this.hwnd = hwnd;
	}
	
	public int getChannel() {
		return channel;
	}
	
	public void setChannel(int channel) {
		this.channel = channel;
	}
	
	public TimeInfo getStartTime() {
		return startTime;
	}
	
	public void setStartTime(TimeInfo startTime) {
		this.startTime = startTime;
	}
	
	public TimeInfo getStopTime() {
		return stopTime;
	}
	
	public void setStopTime(TimeInfo stopTime) {
		this.stopTime = stopTime;
	}
}
